
//
//  TestTextViewCell.m
//  YeeShopProject
//
//  Created by Yee on 2017/6/19.
//  Copyright © 2017年 CoderYee. All rights reserved.
//

#import "TestTextViewCell.h"

@implementation TestTextViewCell

-(void)addOwnView
{
    _textView=[[UITextPlaceHolderView alloc] init];
    _textView.layer.borderColor=kGrayColor.CGColor;
    _textView.layer.borderWidth=0.3;
    _textView.layer.masksToBounds=YES;
    _textView.layer.cornerRadius=3;
    _textView.placeholder=@"请输入内容";
    [self.contentView addSubview:_textView];
    [_textView  mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.left.top.equalTo(self.contentView).with.offset(5);
        make.right.bottom.equalTo(self.contentView).with.offset(-5);

    }];
    [self setBackgroundColor:[UIColor colorWithNSString:@"f2f2f2"]];
    
}

@end
